package net.zdreamer.shunyi.utils.ListUtils;

import net.zdreamer.shunyi.R;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Admin on 2014/12/29.
 */
public class PaiHangInfos implements Serializable {
    public List<PaiHangInfo> paihanginfos = new ArrayList<PaiHangInfos.PaiHangInfo>();

    public PaiHangInfos() {
        PaiHangInfo paiHangInfo = new PaiHangInfo();
        for (int i = 0; i < 5; i++) {
            HashMap<String, Integer> banghuipic = new HashMap<String, Integer>();
            HashMap<String, Integer> ischecked = new HashMap<String, Integer>();
            banghuipic.put("banghuiicon", R.drawable.banghuiicon);
            ischecked.put("check", R.drawable.nochecked);
            paiHangInfo.banghuiicon.add(banghuipic);
            paiHangInfo.ischeck.add(ischecked);
            paiHangInfo.Banghuiname = "青帮";
            paiHangInfo.Banghuixinxi = "帮主：郭德纲  人数99/100";
            paihanginfos.add(paiHangInfo);
        }
    }

    public class PaiHangInfo implements Serializable {
        public String Banghuiname;
        public String Banghuixinxi;
        public List<HashMap<String, Integer>> banghuiicon = new ArrayList<HashMap<String, Integer>>();
        public List<HashMap<String, Integer>> ischeck = new ArrayList<HashMap<String, Integer>>();
    }
}
